package com.shop.shop_end.mapper;

import com.shop.shop_end.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author
 * @since 2024-04-23
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    List<Order> selectAllOrder();

    Integer updateOrderStatus(Long orderId, String status);

    int deleteOrderById(Long orderId);
}
